<!DOCTYPE html>
<script>
document.onclick = function() {
    var video = document.getElementsByTagName('video')[0];
    video.webkitRequestFullscreen();
};
</script>
<body>
<video src="test.webm" controls id="video"></video>
</body>
</html>
